An OCL Extension for Real-Time Constraints
نویسندگان
چکیده
The Object Constraint Language (OCL) was introduced to support the specification of constraints for UML diagrams and is mainly used to formulate invariants and operation preand postconditions. Though OCL is also applied in behavioral diagrams, e.g., as guards for state transitions, it is currently not possible to specify constraints concerning the dynamic behavior and timing properties of such diagrams. This article discusses OCL’s application for the dynamic behavior of UML Statechart diagrams and presents an OCL extension for specification of state-oriented time-bounded constraints. We introduce operations to extract state configurations from diagrams and define additional predicates over states and state configurations. The semantics of our OCL extension is given by employing time-bounded Computational Tree Logic (CTL) formulae. An example of a flexible manufacturing system with automated guided vehicles demonstrates the application of our extension.
منابع مشابه
A UML Profile for Real-Time Constraints with the OCL
This article presents a UML profile for an OCL extension that enables modelers to specify behavioral, state-oriented real-time constraints in OCL. In order to perform a seamless integration into the upcoming UML2.0 standard, we take the latest OCL2.0 metamodel proposal by Warmer et al. [22] as a basis. A formal semantics of our temporal OCL extension is given by a mapping to timeannotated tempo...
متن کاملSpecification of Real-Time Properties for UML Models
The Unified Modeling Language (UML) has received wide acceptance as a standard language in the field of software specification by means of different diagram types. In a recent version of UML, the textual Object Constraint Language (OCL) was introduced to support specification of constraints for UML models. But OCL currently does not provide sufficient means to specify constraints over the dynam...
متن کاملReal-Time Constraints with the OCL
In recent years, the Unified Modeling Language (UML) has received increasing attention from designers of realtime systems. Several approaches apply and enrich the UML notation for modeling of real-time applications. In addition to that, UML modelers can make use of the Object Constraint Language (OCL) to restrict their models by additional constraints. Currently, OCL and real-time extensions of...
متن کاملTemporal OCL Extensions for Specification of Real-Time Constraints
The Unified Modeling Language (UML) receives increasing attention by designers of real-time systems. Several approaches already extend the UML notation for modeling real-time applications. In this context, it is essential to be able to specify time-bounded temporal constraints as a prerequisite to validate a model for correct system behavior. But currently, UML and corresponding extensions only...
متن کاملTool-Supported Step-By-Step Debugging for the Object Constraint Language
Although originally designed as an extension for the Uni ed Modeling Language (UML), the Object Constraint Language (OCL) has been broadly adopted in the context of UML as well as other modeling and domain-speci c languages. However, appropriate tooling, supporting software developers on using OCL is still scarce and lacks debugging support. As OCL constraints are likely to become rather comple...
متن کامل